package learn;

import com.rabbitmq.client.AMQP;
import org.springframework.amqp.core.Binding;
import org.springframework.amqp.core.Exchange;
import org.springframework.amqp.core.Queue;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.cglib.proxy.MethodInterceptor;
import org.springframework.retry.annotation.Backoff;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.retry.annotation.Recover;
import org.springframework.retry.annotation.Retryable;

public class RabbitMQ {
    /**
     *
     */
    public static void element(){
        RabbitListener rabbitListener;
        Exchange exchange;
        Binding binding;
        Queue queue;


    }

    /**
     *
     */
    public static void springboot(){
        EnableRetry enableRetry;// 启用重试
        Retryable retryable;// 重试参数，默认3次
        MethodInterceptor methodInterceptor;// 重试拦截器
        Backoff backoff;// 重试间隔
        Recover recover;// 死信回调方法

    }
}
